package org.gege.dao;

import org.gege.dbbean.HunterPortrait;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;

public interface HunterPortraitDao extends CrudRepository<HunterPortrait, Long> {

    HunterPortrait findByHunterId(Long hunterId);
    
    Page<HunterPortrait> findAllByOrderByCreateTimeDesc(Pageable pageable);
}
